package com.zmn.plat.model.entity.log;

import com.zmn.common.utils.pager.Operator;

import java.io.Serializable;
import java.util.Date;

/**
 * @author nowind
 * @since 17/09/16 19:16
 */
public class LoginLogStaff extends Operator implements Serializable {
    private static final long serialVersionUID = 1L;

//    public final static int LOGIN_TYPE_IN           = 1;    //登录类型，登录
//    public final static int LOGIN_TYPE_OUT          = 2;    //登录类型，登出
//    public final static int LOGIN_TYPE_KICK         = 3;    //登录类型，踢出
//
//    public final static int LOGIN_STATUS_FAIL       = 1;    //登录结果，失败
//    public final static int LOGIN_STATUS_SUCCESS    = 2;    //登录结果，成功

    private int logId;
    private String sessionId;
    private String loginName;
    private int loginType;
    private String loginHost;
    private String loginIp;
    private String loginLatlng;
    private String loginAddr;
    private int loginStatus;
    private Date loginTime;
    private String deviceType;
    private String deviceCode;
    private int statusCode;
    private String statusMessage;


    public Integer getLogId() {
        return logId;
    }

    public void setLogId(Integer logId) {
        this.logId = logId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public int getLoginType() {
        return loginType;
    }

    public void setLoginType(int loginType) {
        this.loginType = loginType;
    }

    public String getLoginHost() {
        return loginHost;
    }

    public void setLoginHost(String loginHost) {
        this.loginHost = loginHost;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getLoginLatlng() {
        return loginLatlng;
    }

    public void setLoginLatlng(String loginLatlng) {
        this.loginLatlng = loginLatlng;
    }

    public String getLoginAddr() {
        return loginAddr;
    }

    public void setLoginAddr(String loginAddr) {
        this.loginAddr = loginAddr;
    }

    public int getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(int loginStatus) {
        this.loginStatus = loginStatus;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getStatusMessage() {
        return statusMessage;
    }

    public void setStatusMessage(String statusMessage) {
        this.statusMessage = statusMessage;
    }
}
